package com.common.result;



import java.util.List;


public class PageVO<T> {
    /*
    * 当前页
    * */
    private Integer currentPage = 1;

    /*
    * 总页数
    * */
    private Integer pageTotalNum;

    /*
    * 每页大小
    * */
    private Integer pageSize = 10;

    /*
    * 总条数
    * */
    private Long total;

    /*
    * 分页数据
    * */
    private List<T> pageData;

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageTotalNum() {
        return pageTotalNum;
    }

    public void setPageTotalNum(Integer pageTotalNum) {
        this.pageTotalNum = pageTotalNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getPageData() {
        return pageData;
    }

    public void setPageData(List<T> pageData) {
        this.pageData = pageData;
    }
}
